package com.commerceE.common.exception;

import java.io.Serializable;

public class DaoException extends Exception implements Serializable{
 
	private static final long serialVersionUID = -228504083510475136L;

	private String exceptionCode;
	
	private String exceptionMessage;
	
	public DaoException(String exceptionCode, String exceptionMessage){
		super(exceptionMessage);
		this.exceptionCode = exceptionCode;
		this.exceptionMessage = exceptionMessage;
	}
	
	public DaoException(String exceptionMessage){
		super(exceptionMessage);
		this.exceptionMessage = exceptionMessage;
	}

	public String getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(String exceptionCode) {
		this.exceptionCode = exceptionCode;
	}

	public String getExceptionMessage() {
		return exceptionMessage;
	}

	public void setExceptionMessage(String exceptionMessage) {
		this.exceptionMessage = exceptionMessage;
	}
	
	

}
